import { request, config } from 'utils'

const { api } = config
const {
  HotlineIndicators,
  HotlineAnalysis,
  HotlineStatistics,
  HotlineGetStatistics,
} = api

export function queryIndicators(params) {
  return request({ url: HotlineIndicators, params})
}

export function queryAnalysis(params) {
  return request({ url:HotlineAnalysis, params })
}

export function queryStatistics(params) {
  return request({ url:HotlineStatistics, params })
}

export function queryGetStatistics(params) {
  return request({ url:HotlineGetStatistics, params })
}